package com.bootdo.util;

import com.bootdo.system.domain.UserDO;
import org.apache.shiro.SecurityUtils;

public class UserUtil {
    public static UserDO getUserDO(){
        return (UserDO)SecurityUtils.getSubject().getPrincipal();
    }
}
